/ Assembly List / LJCWinFormControls / ControlCommon / AverageCharWidth

Namespace - LJCWinFormControls


Parameters
control - The Control value.
text - The text value.

Returns

The average character width for the specified text.

Syntax

C#
public static Int32 AverageCharWidth(Control control, String text)

Use a supplied text and control font.

Copyright © Lester J. Clark and Contributors.
Licensed under the MIT License.